package com.lagou.dubbo;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * description: providerA启动类
 *
 * @author ykl
 * @version V1.0
 * @date 2020/9/8 下午4:40
 */
@Configuration
@EnableDubbo
@PropertySource("classpath:/dubbo-provider.properties")
@SpringBootApplication(scanBasePackages = {"com.lagou.dubbo"})
public class ProviderAApiApplication {


    public static void main(String[] args) {
        SpringApplication.run(ProviderAApiApplication.class, args);
    }



}
